'use strict'
/**
 * @param {Egg.Application} app - egg application
 */
module.exports = app => {
  const {
    router,
    controller
  } = app;
  router.get('/', controller.home.index);
  router.post('/add-item', controller.addItem.AddQuestion);
  router.get('/all-list', controller.addItem.FindAll);
  router.get('/delete/:id', controller.addItem.DeleteId);
}